package org.lyu.entity;

import java.sql.Date;

/**
 * Object
 * @author Administrator
 *
 */
public class Pet {
	
	public Pet() {
		super();
	}

	public Pet(String name, String owner, String species, String sex, Date birth, Date death) {
		super();
		this.name = name;
		this.owner = owner;
		this.species = species;
		this.sex = sex;
		this.birth = birth;
		this.death = death;
	}

	private String name;

	private String owner;

	private String species;

	private String sex;

	private Date birth;

	private Date death;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getOwner() {
		return owner;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}

	public String getSpecies() {
		return species;
	}

	public void setSpecies(String species) {
		this.species = species;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public Date getDeath() {
		return death;
	}

	public void setDeath(Date death) {
		this.death = death;
	}

	@Override
	public String toString() {
		return "Pet [name=" + name + ", owner=" + owner + ", species=" + species + ", sex=" + sex + ", birth=" + birth
				+ ", death=" + death + "]";
	}
	
	
}
